import request from "~/config/utils/axios-request"
const prefix = "/webapi/adminstage/login"

export const adminLogin=params=>{
  return request({
    url:`${prefix}/adminLogin`,
    method:"POST",
    data:params
  })
}
/**
 * token检查
 * @param {mid} params 
 */
export const checkToken=params=>{
  return request({
    url:`${prefix}/checkToken`,
    method: "POST",
    data: params
  })
}